package demo10.对象的打印;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 姚东名
 * Date: 2024-06-13
 * Time: 15:23
 */
public class Person {
    String name;
    String gender;
    int age;

    public Person(String name, String gender, int age) {
        this.name = name;
        this.gender = gender;
        this.age = age;
    }

    public static void main(String[] args) {
        Person person = new Person("zhangsan", "男", 19);
        System.out.println(person);
    }
}

//demo10.对象的打印.Person@1b6d3586
